//
//  BZUCUser.h
//  BZUCSDK
//
//  Created by 郭艺伟 on 2017/10/10.
//  Copyright © 2017年 郭艺伟. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Mantle/Mantle.h>
@interface BZUCUser :NSObject
//MTLModel<MTLJSONSerializing>

/**
 * 用户ID
 */
@property (nonatomic, assign ) long long customerId;

/**
 * 名称
 */
@property (nonatomic, copy   ) NSString  *username;

/**
 * 昵称
 */
@property (nonatomic, copy   ) NSString *nickname;

/**
 * 真实姓名
 */
@property (nonatomic, copy   ) NSString *realName;

/**
 * 电话
 */
@property (nonatomic, copy   ) NSString *phone;


/**
 * 头像
 */
@property (nonatomic, copy   ) NSString *portrait;

/**
 * 类型
 */
@property (nonatomic, assign ) NSUInteger type;


/**
 *
 */
@property (nonatomic, copy   ) NSString *sectName;


/**
 * 状态
 */
@property (nonatomic, assign ) NSUInteger status;


/**
 *
 */
@property (nonatomic, assign ) NSUInteger sectId;


/**
 * 密码
 */
@property (nonatomic, copy   ) NSString *password;

@property (nonatomic, copy   ) NSString *sessionId;

@property (nonatomic, copy   ) NSString *backgroundUrl;

@property (nonatomic, copy   ) NSString *expireTime;

@property (nonatomic, assign ) BOOL isHeadlineFirst;

@property (nonatomic, strong) BZUCUser *localUser;

+ (instancetype)shareInstance;

- (void)clean;

- (void)setupWithDict:(NSDictionary *)dict;

@end
